3.3.96 \(\int \frac {1}{\sqrt {b x+c x^2}} \, dx\)

Optimal. Leaf size=28 \[ \frac {2 \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )}{\sqrt {c}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {620, 206} \begin {gather*} \frac {2 \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )}{\sqrt {c}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/Sqrt[b*x + c*x^2],x]

[Out]

(2*ArcTanh[(Sqrt[c]*x)/Sqrt[b*x + c*x^2]])/Sqrt[c]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 620

Int[1/Sqrt[(b_.)*(x_) + (c_.)*(x_)^2], x_Symbol] :> Dist[2, Subst[Int[1/(1 - c*x^2), x], x, x/Sqrt[b*x + c*x^2
]], x] /; FreeQ[{b, c}, x]

Rubi steps

\begin {align*} \int \frac {1}{\sqrt {b x+c x^2}} \, dx &=2 \operatorname {Subst}\left (\int \frac {1}{1-c x^2} \, dx,x,\frac {x}{\sqrt {b x+c x^2}}\right )\\ &=\frac {2 \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )}{\sqrt {c}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B]  time = 0.02, size = 57, normalized size = 2.04 \begin {gather*} \frac {2 \sqrt {b} \sqrt {x} \sqrt {\frac {c x}{b}+1} \sinh ^{-1}\left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {b}}\right )}{\sqrt {c} \sqrt {x (b+c x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/Sqrt[b*x + c*x^2],x]

[Out]

(2*Sqrt[b]*Sqrt[x]*Sqrt[1 + (c*x)/b]*ArcSinh[(Sqrt[c]*Sqrt[x])/Sqrt[b]])/(Sqrt[c]*Sqrt[x*(b + c*x)])

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.00, size = 34, normalized size = 1.21 \begin {gather*} -\frac {\log \left (-2 \sqrt {c} \sqrt {b x+c x^2}+b+2 c x\right )}{\sqrt {c}} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[1/Sqrt[b*x + c*x^2],x]

[Out]

-(Log[b + 2*c*x - 2*Sqrt[c]*Sqrt[b*x + c*x^2]]/Sqrt[c])

________________________________________________________________________________________

fricas [A]  time = 0.42, size = 62, normalized size = 2.21 \begin {gather*} \left [\frac {\log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right )}{\sqrt {c}}, -\frac {2 \, \sqrt {-c} \arctan \left (\frac {\sqrt {c x^{2} + b x} \sqrt {-c}}{c x}\right )}{c}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c*x^2+b*x)^(1/2),x, algorithm="fricas")

[Out]

[log(2*c*x + b + 2*sqrt(c*x^2 + b*x)*sqrt(c))/sqrt(c), -2*sqrt(-c)*arctan(sqrt(c*x^2 + b*x)*sqrt(-c)/(c*x))/c]

________________________________________________________________________________________

giac [A]  time = 0.26, size = 35, normalized size = 1.25 \begin {gather*} -\frac {\log \left ({\left | -2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )} \sqrt {c} - b \right |}\right )}{\sqrt {c}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c*x^2+b*x)^(1/2),x, algorithm="giac")

[Out]

-log(abs(-2*(sqrt(c)*x - sqrt(c*x^2 + b*x))*sqrt(c) - b))/sqrt(c)

________________________________________________________________________________________

maple [A]  time = 0.04, size = 29, normalized size = 1.04 \begin {gather*} \frac {\ln \left (\frac {c x +\frac {b}{2}}{\sqrt {c}}+\sqrt {c \,x^{2}+b x}\right )}{\sqrt {c}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(c*x^2+b*x)^(1/2),x)

[Out]

ln((c*x+1/2*b)/c^(1/2)+(c*x^2+b*x)^(1/2))/c^(1/2)

________________________________________________________________________________________

maxima [A]  time = 1.36, size = 27, normalized size = 0.96 \begin {gather*} \frac {\log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right )}{\sqrt {c}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c*x^2+b*x)^(1/2),x, algorithm="maxima")

[Out]

log(2*c*x + b + 2*sqrt(c*x^2 + b*x)*sqrt(c))/sqrt(c)

________________________________________________________________________________________

mupad [B]  time = 0.23, size = 28, normalized size = 1.00 \begin {gather*} \frac {\ln \left (\frac {\frac {b}{2}+c\,x}{\sqrt {c}}+\sqrt {c\,x^2+b\,x}\right )}{\sqrt {c}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(b*x + c*x^2)^(1/2),x)

[Out]

log((b/2 + c*x)/c^(1/2) + (b*x + c*x^2)^(1/2))/c^(1/2)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {b x + c x^{2}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c*x**2+b*x)**(1/2),x)

[Out]

Integral(1/sqrt(b*x + c*x**2), x)

________________________________________________________________________________________